package com.byl.modules.sys.service.impl;

import com.byl.common.modules.service.BaseServiceImpl;
import com.byl.modules.sys.dao.LoggerDao;
import com.byl.modules.sys.service.LoggerService;
import com.byl.sdk.utils.PageMap;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2020/1/2.
 */
@SuppressWarnings("ALL")
@Service
public class LoggerServiceImpl extends BaseServiceImpl<LoggerDao> implements LoggerService {

    @Autowired
    LoggerDao loggerDao;

    @Override
    public int queryAccessCount() {
        return loggerDao.queryCount(new PageMap());
    }
}
